#include "include/jm_usb/jm_usb_plugin_c_api.h"

#include <flutter/plugin_registrar_windows.h>

#include "jm_usb_plugin.h"

void JmUsbPluginCApiRegisterWithRegistrar(
    FlutterDesktopPluginRegistrarRef registrar) {
  jm_usb::JmUsbPlugin::RegisterWithRegistrar(
      flutter::PluginRegistrarManager::GetInstance()
          ->GetRegistrar<flutter::PluginRegistrarWindows>(registrar));
}
